body {
    list-style: none;
    text-decoration: none;
}

.bigbox {
    width: 10rem;
    //height: 20rem;
    box-sizing: border-box;
}

//切换题目
header {
    width: 100%;
    height: 1.6rem;
    box-sizing: border-box;
    padding-left: 0, 6rem;
    background-color: #726fff;
    position: fixed;
    right: 0px;
    top: 0px;

    .img {
        width: 0.2667rem;
        height: 0.4rem;
        margin-left: 0.6rem;
        margin-top: 0.5467rem;
        margin-right: 10px;
    }

    span {
        width: 1.6rem;
        line-height: 0.4rem;
        font-size: 0.4rem;
        font-weight: 700;
        color: #ffff;

    }

    .sp2 {
        margin-left: 2.2666rem;
        color: #eaff00;
    }
}

//试题内容
main {
    width: 100%;
    //height: 16.9333rem;
    //box-sizing: border-box;
    padding-top: 2.2rem;
    overflow: hidden;

    .page {
        width: 300%;
        height: 10rem;
        display: flex;
        justify-content: flex-start;

        .boxx {
            width: 33.33%;
            padding-left: 0.5333rem;
            box-sizing: border-box;

            //题目
            .title {

                p {
                    width: 1.0667rem;
                    background-color: #a2a1e4;
                    border-radius: 0.0267rem;
                    font-size: 0.2667rem;
                    text-align: center;
                    display: inline-block;
                    color: white;
                }

                span {
                    width: 1.6rem;
                    height: 0.4rem;
                    font-size: 0.4rem;
                    margin-left: 0.3rem;
                    color: #333333;
                }
            }

            //选项
            .option {
                margin-top: 0.67rem;

                input {
                    // display: block;
                    margin-bottom: 0.6333rem;
                }

                label {
                    font-size: 0.4rem;
                }

                .active {
                    color: #6966eb;
                }
            }

            //答案解析
            /*     .answer {
            width: 8.7rem;
            height: 2.4rem;
            padding-top: 0.2667rem;
            padding-left: 0.2667rem;
            background-color: #f4f4f4;
            border-radius: 0.0533rem;
    
            p {
                margin-bottom: 0.2667rem;
                font-size: 0.4rem;
                color: #333333;
    
            }
        } */
        }
    }




}

//底部功能
footer {
    width: 100%;
    height: 1.33rem;
    position: fixed;
    right: 0rem;
    bottom: 0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 0.01rem solid rgb(146, 142, 142);

    .one {
        font-size: 0.32rem;
        margin-left: 0.53rem;
        color: #8f8a8a;
    }

    .three {
        width: 3.47rem;
        height: 0.93rem;
        background-color: #726fff;
        border-radius: 0.47rem;
        text-align: center;
        font-size: 0.4rem;
        color: #ffffff;

        p {
            line-height: 0.93rem;
        }
    }

    .four {
        margin-right: 0.53rem;

        img {
            width: 0.32rem;
            height: 0.3333rem;
            vertical-align: middle;
        }

        span {
            vertical-align: middle;
        }
    }

}

.gray {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba($color: #000000, $alpha: 0.5);
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;

    .point {
        width: 7.8rem;
        height: 4.53rem;
        background-color: #ffffff;
        border-radius: 0.27rem;
        position: fixed;
        top: 30%;
        left: calc(50% - 7.8rem / 2);

        .ques {
            margin-top: 1.13rem;
            text-align: center;
            font-size: 0.4rem;
            font-weight: 550;
            color: #f90000;
        }

        .two {
            width: 6.53rem;
            height: 1.01rem;
            margin: 0.99rem auto 0rem;
            display: flex;
            justify-content: space-between;

            .Btn {
                width: 3.13rem;
                height: 1.01rem;
                border-radius: 0.05rem;
                font-size: 0.32rem;
                outline: none;
            }

            #cancel {
                background-color: #f2f2f2;
                color: #333333;
            }

            #confirm {
                background-color: #726fff;
                color: #ffffff;
            }
        }
    }

}





/*设置翻页的动画*/

.out_top {
    animation: out_top .5s linear both;
}

.in_top {
    animation: in_top .5s linear both;
}

.out_down {
    animation: out_down .5s linear both;
}

.in_down {
    animation: in_down .5s linear both;
}

/*当前页-->向上翻-->隐藏*/
@keyframes out_top {
    from {
        transform: translateX(0px);
    }

    to {
        transform: translateX(-100px);
    }
}

/*下一页-->向上翻-->显示*/
@keyframes in_top {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-100%);
    }
}

/*当前页-->向下拉-->隐藏*/
@keyframes out_down {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

/*上一页-->向下拉-->显示*/
@keyframes in_down {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}




//选择功能
.grayy {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    background-color: rgba($color: #000000, $alpha: 0.5);

    .list {
        &.fade {
            animation: fade .4s linear both;
        }

        width: 100%;
        height: 10rem;
        position: fixed;
        left: 0;
        bottom: 0;
        z-index: 11;
        background-color: #ffffff;


        .on {
            width: 100%;
            height: 1.47rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 0.01rem solid rgb(200, 198, 198);

            .one {
                font-size: 0.32rem;
                margin-left: 0.53rem;
                color: #8f8a8a;
            }

            .three {
                width: 3.47rem;
                height: 0.93rem;
                background-color: #726fff;
                border-radius: 0.47rem;
                text-align: center;
                font-size: 0.4rem;
                color: #ffffff;

                p {
                    line-height: 0.93rem;
                }
            }

            .four {
                margin-right: 0.53rem;

                img {
                    width: 0.32rem;
                    height: 0.3333rem;
                    vertical-align: middle;
                }

                span {
                    vertical-align: middle;
                }
            }
        }

        //单选题
        .danxuan {
            width: 8.92rem;
            margin-top: 0.67rem;
            margin-left: 0.6rem;

            p {
                font-size: 0.4rem;
                font-weight: bold;
                color: #333333;
            }

            .tihao {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                .one {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.35rem;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                    font-size: 0.4rem;
                    position: relative;
                    &.notChoose{
                        color: #b5b5b5;
                        box-sizing: border-box;
                        background-color: #ffffff;
                        border: 0.01rem solid #b5b5b5;
                    }

                    .fa {
                        position: absolute;
                        top: 0rem;
                        right: 0rem;
                        color: #fe8545;
                    }
                }
            }
        }

        //多选题
        .duoxuan {
            width: 8.92rem;
            height: 3.6667rem;
            margin-left: 0.6rem;
            margin-top: 0.4rem;

            p {
                font-size: 0.4rem;
                color: #333333;
            }

            .tihao2 {
                display: flex;
                flex-wrap: wrap;
                margin-top: 0.4rem;

                div {
                    width: 1.2rem;
                    height: 1.2rem;
                    border-radius: 50%;
                    margin-right: 0.3467rem;
                    ;
                    color: #726fff;
                    background-color: #dbdaff;
                    text-align: center;
                    line-height: 1.2rem;
                    margin-bottom: 0.1333rem;
                }
            }

        }
    }
}

/*下一页-->向上翻-->显示*/
@keyframes fade {
    from {
        transform: translateY(0%);
    }

    to {
        transform: translateY(100%);
    }
}